package cn.kk.springboot01.demo.mapper;
/*
 *@author KK on 2022.10.09 17:19
 */

import cn.kk.springboot01.demo.entity.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmpMapper {
    List<Emp> getAll();

    Emp getEmpByName(@Param("name") String name);

    int delEmp(@Param("eno") Integer eno);
}
